#! /bin/sh

mkdir -p /dev/pts
mkdir -p /dev/shm
mkdir -p /run
mkdir -p /tmp

mount -t proc  -o defaults,nodev,nosuid proc /proc
mount -t sysfs -o defaults,nodev,nosuid sysfs /sys

mount -a

echo '

 __
/\ \
\ \ \        ___     ___     ___      __     ____    ___     ___
 \ \ \  __  / __ \  / __ \ /  _  \  / _  \  / ,__\  / __ \ /  _  \
  \ \ \L\ \/\ \L\ \/\ \L\ \/\ \/\ \/\ \L\ \/\__, `\/\ \L\ \/\ \/\ \
   \ \____/\ \____/\ \____/\ \_\ \_\ \____ \/\____/\ \____/\ \_\ \_\
    \/___/  \/___/  \/___/  \/_/\/_/\/___L\ \/___/  \/___/  \/_/\/_/
                                      /\____/
                                      \_/__/

'
for initscript in /etc/init.d/S[0-9][0-9]*
do
	if [ -x $initscript ] ;
	then
		echo "[RCS]: $initscript"
		$initscript start
	fi
done
